package net.wy.commons.util;

/*参数类型转换工具类*/
public class TypeConversionUtil {
    public static int parseInt(String value) {
        int result = 0;
        try {
            result = Integer.parseInt(value);
        } catch (Exception e) {
        }
        return result;
    }

    public static long parseLong(String value) {
        long result = 0;
        try {
            result = Long.parseLong(value);
        } catch (Exception e) {
        }
        return result;
    }
}
